package com.zrf.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * User entity. @author MyEclipse Persistence Tools
 */

public class User implements java.io.Serializable {

	// Fields

	private Integer uid;
	private String ubankcard;
	private String uloginpassword;
	private String utradingpassword;
	private Double ubalance;
	private Set detailsForUid = new HashSet(0);
	private Set detailsForMid = new HashSet(0);
	private Set refundsForUid = new HashSet(0);
	private Set refundsForMid = new HashSet(0);

	// Constructors

	/** default constructor */
	public User() {
	}

	/** minimal constructor */
	public User(Integer uid) {
		this.uid = uid;
	}

	/** full constructor */
	public User(Integer uid, String ubankcard, String uloginpassword,
			String utradingpassword, Double ubalance, Set detailsForUid,
			Set detailsForMid, Set refundsForUid, Set refundsForMid) {
		this.uid = uid;
		this.ubankcard = ubankcard;
		this.uloginpassword = uloginpassword;
		this.utradingpassword = utradingpassword;
		this.ubalance = ubalance;
		this.detailsForUid = detailsForUid;
		this.detailsForMid = detailsForMid;
		this.refundsForUid = refundsForUid;
		this.refundsForMid = refundsForMid;
	}

	// Property accessors

	public Integer getUid() {
		return this.uid;
	}

	public void setUid(Integer uid) {
		this.uid = uid;
	}

	public String getUbankcard() {
		return this.ubankcard;
	}

	public void setUbankcard(String ubankcard) {
		this.ubankcard = ubankcard;
	}

	public String getUloginpassword() {
		return this.uloginpassword;
	}

	public void setUloginpassword(String uloginpassword) {
		this.uloginpassword = uloginpassword;
	}

	public String getUtradingpassword() {
		return this.utradingpassword;
	}

	public void setUtradingpassword(String utradingpassword) {
		this.utradingpassword = utradingpassword;
	}

	public Double getUbalance() {
		return this.ubalance;
	}

	public void setUbalance(Double ubalance) {
		this.ubalance = ubalance;
	}

	public Set getDetailsForUid() {
		return this.detailsForUid;
	}

	public void setDetailsForUid(Set detailsForUid) {
		this.detailsForUid = detailsForUid;
	}

	public Set getDetailsForMid() {
		return this.detailsForMid;
	}

	public void setDetailsForMid(Set detailsForMid) {
		this.detailsForMid = detailsForMid;
	}

	public Set getRefundsForUid() {
		return this.refundsForUid;
	}

	public void setRefundsForUid(Set refundsForUid) {
		this.refundsForUid = refundsForUid;
	}

	public Set getRefundsForMid() {
		return this.refundsForMid;
	}

	public void setRefundsForMid(Set refundsForMid) {
		this.refundsForMid = refundsForMid;
	}

}